package edzest.basic;

public class J22_BookDBVO {

	private String id;	// 번호
	private String title;
	private String publisher;
	private String author;
	private String regdate;	// 등록일
	
	// 생성자를 통해 데이터를 초기화함
	// id(pk), regdate는 자동으로 입력되므로
	// 생성자의 매개변수 목록에서 제외
	public J22_BookDBVO(String title, String publisher, String author) {
		this.title = title;
		this.publisher = publisher;
		this.author = author;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getRegdate() {
		return regdate;
	}

	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}

	@Override
	public String toString() {
		return "J20_BookDBVO [id=" + id + ", title=" + title + ", publisher="
				+ publisher + ", author=" + author + ", regdate=" + regdate
				+ "]";
	}
	
}
